<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<script type="text/javascript">
function jumpPage(n) {
	var form = $('#searchform');
	form.find('input[name="pageNo"]').val(n);
	form.submit();
}
</script>

<style>
input::-webkit-input-placeholder {
    /* placeholder颜色  */
    color: #aab2bd;
    /* placeholder字体大小  */
    font-size: 2px;
    /* placeholder位置  */
    text-align: left;
}
</style>

<div class="search">
	<form action="list" method="get" name="searchform" id="searchform">
   		<input name="keyword" id="keyword" class="input_text" style="width : 175px !important; " value="${query.keyword }" placeholder="请输入关键字" type="text" />
    	<input name="pageNo" value="<c:out value="${query.pageNo }">1</c:out>" type="hidden">
    	<input name="tag" value="${query.tag }" type="hidden">
    	<input name="categoryId" value="${query.categoryId }" type="hidden">
    	<input name="pageSize" value="<c:out value="${query.pageSize }">20</c:out>" type="hidden">
   		<input class="input_submit" value="搜索" type="submit" />
  	</form>
</div>